package com.dachuang.common.exception;

public enum BizCodeEnume {
    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    VAILD_EXCEPTION(10001,"参数格式校验失败"),
    ERROR20001(20001,"email不能为空"),
    ERROR20002(20002,"account不能为空"),
    ERROR20003(20003,"password不能为空"),
    ERROR20004(20004,"用户不存在"),
    ERROR20005(20005,"ID不能为空"),
    ERROR20006(20006,"请先登录"),
    ERROR30001(30001,"theme不能为空"),
    ERROR30002(30002,"content不能为空"),
    ERROR30003(30003,"法律不存在"),
    ERROR40001(40001,"活动不存在"),
    ERROR50001(50001,"name不能为空"),
    ERROR50002(50002,"cardNumber不能为空"),
    ERROR50003(50003,"phone"),
    ERROR50004(50004,"activity不能为空"),
    ERROR50005(50005,"introduction不能为空"),
    ERROR50006(50006,"plan不能为空"),
    ERROR60001(60001,"logo不能为空"),
    ERROR60002(60002,"address不能为空"),
    ERROR60003(60003,"firld不能为空"),
    ERROR60004(60004,"content不能为空"),
    ERROR60005(60005,"prospectus不能为空"),
    ERROR70001(70001,"mechanism不能为空"),
    ERROR70002(70002,"demand不能为空"),
    ERROR70003(70003,"mail不能为空"),
    ERROR70004(70004,"introduce不能为空"),
    ERROR70006(70006,"phone不能为空"),
    ERROR70007(70007,"matter不能为空"),
    ERROR70008(70008,"wages不能为空"),
    ERROR80001(80001,"openTime不能为空"),
    ERROR80002(80002,"sponsor不能为空"),
    ERROR80003(80003,"endTime不能为空"),
    ERROR80004(80004,"title不能为空"),
    ERROR80005(80005,"comments不能为空");
    private int code;
    private String msg;
    BizCodeEnume(int code , String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
